package com.kust.smarthome.web.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("用户注册表单")
public class RegisterVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户昵称", required = true)
    private String nickname;

    @ApiModelProperty(value = "邮箱,用于用户名处", required = true)
    private String email;

    @ApiModelProperty(value = "密码", required = true)
    private String password1;

    @ApiModelProperty(value = "确认密码", required = true)
    private String password2;

    @ApiModelProperty(value = "邮箱验证码", required = true)
    private String code;

}
